package com.krtech.wecard.module.sys.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.krtech.wecard.module.sys.entity.SysDept;
import com.krtech.wecard.module.sys.entity.SysRole;
import com.krtech.wecard.module.sys.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysUserVo extends SysUser {

//    @TableField(exist = false)
//    private List<Integer> roleIds;



    @TableField(exist = false)
    private List<SysRole> roleList;

    @TableField(exist = false)
    private SysDept deptInfo;

    @ApiModelProperty(value = "卡是否激活，0：否，1：是")
    private Integer hasActivation;

    @ApiModelProperty(value = "卡激活时间")
    private Date activationTime;
}
